package com.movie.ticket.sale.moviecommon.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ticket
 * @since 2020-12-05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@RedisHash("TComplain")
public class TComplain implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户投诉表
     */
    @Id
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 影院id
     */
    private Integer cinemaId;

    /**
     * 对应的订单id
     */
    private Integer orderMovieId;

    /**
     * 投诉内容
     */
    private String content;

    /**
     * 1未处理 0已处理
     */
    private Integer state;


}
